/* Parser Class */
#include "Parser.h"
   
Parser::Parser()
{
	
}

Parser::~Parser()
{

}

void Parser::PrintInfo()
{
cout << "Parser::PrintInfo";
}

int Parser::ParseCommand( inputString )
{
	if ( inputString.compare( "quit" ) == 0 )
	{
		cout << "\n\rQuitting!\n\r";
		return 1;
	}
	
	switch ( state )
	{
		case STATE_LOGIN_ENTRY:
			a->ParseCommand();
			a->ParseStateLoginEntry( inputString );
			break;
		case STATE_SELECTION_ENTRY:
			break;
		case STATE_GAME_PLAYING:
			cout << "<Prompt>...";
			break;
		default:
			break;
	}	
	
	return 0;
}

void Parser::ParseStateLoginEntry( string inputString )
{
	switch ( loginStage ) {
		case <#constant#>:
			<#statements#>
			break;
		default:
			break;
	}
}